//
//  DTBizMap.m
//  PersonalManager
//
//  Created by user on 16/8/11.
//  Copyright © 2016年 Haiyun.Qian. All rights reserved.
//

#import "DTBizMap.h"

@implementation DTBizMap
-(instancetype)init {
    self = [super init];
    
    
    return self;
}

-(void)locate:(DTJavascriptCommand *)command {
    
    self.mapLocation = [[DTBizMapLocation alloc]init];
    [command.controller.navigationController pushViewController:_mapLocation animated:true];
    _mapLocation.command = command;
}

-(void)search:(DTJavascriptCommand *)command {
    
    self.mapPOIsearch = [[DTBizMapPOISearch alloc]init];
    [command.controller.navigationController pushViewController:_mapPOIsearch animated:true];
    _mapPOIsearch.command = command;
}



@end
